package com.zerosky.crm.service;

import java.util.List;
import java.util.Map;

import com.zerosky.crm.po.Customer;
import com.zerosky.crm.po.Reserve;
import com.zerosky.crm.util.PageInfo;

/**
 * Customer业务逻辑接口
 * 
 * @author hugy;
 * @since 2017-06-08
 */
public interface ReserveService {

	/**Reserve列表数据接口
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public PageInfo<Reserve> getReserveList(Map map);

	/**通过主键查找Reserve数据接口 
	 * @param id Reserve主键
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public Reserve getReserveById(String id);

	/**新增Reserve数据接口
	 * @param Reserve 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int addReserve(Reserve reserve) throws Exception;
	
	/**修改Reserve数据接口
	 * @param Reserve 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int updateReserve(Reserve reserve) throws Exception;
	
	/**删除Reserve数据状态接口
	 * @param id Reserve主键，status 状态
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int deleteReserveById(String id) throws Exception;	
}
